﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            tiger t = new tiger();
            t.cry();
            t.eat();
            t.look();
            t.Leg = "4";
            Console.WriteLine("**********************************");

            swallow s = new swallow();
            s.cry();
            s.eat();
            s.fly();
            s.Leg = "2";
            Console.WriteLine("**********************************");

            eagle e = new eagle();
            e.cry();
            e.eat();
            e.fly();
            e.Leg = "2";
            Console.WriteLine("**********************************");

            cat c = new cat();
            c.cry();
            c.eat();
            c.look();
            c.Leg = "4";

            Calculate calculate = new Calculate();

            calculate.DisplayResult();
            Xc(calculate);

            Shape shape = new Shape();
            Sc(shape);
        }
        public static void Xc(Calculate calculate)
        {
            calculate.DisplayResult();
        }
        public static void Sc(Shape shape) 
        {
            shape.GetArea();
        }
    }
}
